package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  视图
 *
 * @author code-generate
 * @date 2021-09-17
 */
@Data
@ApiModel(value = "VideoSafeCurr 视图", description = " 视图")
public class VideoSafeCurrVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 设备Id
     */
    @ApiModelProperty(value = "设备Id")
    @Excel(name = "设备Id", orderNum = "0")
    private Integer deviceId;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "设备号")
    @Excel(name = "设备号", orderNum = "0")
    private String deviceCode;

    /**
     * 事件类型名称
     */
    @ApiModelProperty(value = "事件类型名称")
    @Excel(name = "事件类型名称", orderNum = "0")
    private String type;

    /**
     * 事件具体地址
     */
    @ApiModelProperty(value = "事件具体地址")
    @Excel(name = "事件具体地址", orderNum = "0")
    private String address;

    /**
     * 事件抓拍图片
     */
    @ApiModelProperty(value = "事件抓拍图片")
    @Excel(name = "事件抓拍图片", orderNum = "0")
    private String imgSrc;

    /**
     * 识别时间
     */
    @ApiModelProperty(value = "识别时间")
    @Excel(name = "识别时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime date;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    @Excel(name = "经度", orderNum = "0")
    private Double lng;

    /**
     * 维度
     */
    @ApiModelProperty(value = "维度")
    @Excel(name = "维度", orderNum = "0")
    private Double lat;

    /**
     * 最后更新时间
     */
    @ApiModelProperty(value = "最后更新时间")
    @Excel(name = "最后更新时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbLastUpdateDate;

    @ApiModelProperty(value = "文件id")
    private String fileId;

}
